//
//  PageHeaderCollectionView.h
//  AFNetworking
//
//  Created by admin on 2020/4/29.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^PageHeaderCollectionCellClick)(id item);

@interface PageHeaderCollectionCellData : NSObject
@property(strong, nonatomic) NSString *title;
@end


@interface PageHeaderCollectionCell : UICollectionViewCell

@property(strong, nonatomic)UILabel *titleLab;//标题

@property(strong, nonatomic)UIView *remarkView;//选中标记

-(void)reload:(id)item;

@end


@interface PageHeaderCollectionView : UICollectionView<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>

@property(strong, nonatomic)NSString *identifier;

@property(strong, nonatomic) NSArray *items;

@property(strong, nonatomic) id selectItem;

@property(copy, nonatomic) PageHeaderCollectionCellClick cellClick;
@end

NS_ASSUME_NONNULL_END
